﻿using System.Data;
using System.Data.SqlClient;

namespace LoverMeeting.DataBase.DataMappers
{
    public interface IDataMapper<TEntity>
    {
        TEntity GetData(IDataReader reader);
        void SetParameter(SqlCommand command, TEntity entity);
        int GetRecordCount(IDataReader reader);
    }
}
